<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<body>
	<ui:composition>
		<p:dataTable var="group" value="#{dtGroupPermissionView.groups}">
			<p:column headerText="Project">
				<h:outputText value="#{group.project.code}" />
			</p:column>
			<p:column headerText="User">
				<p:selectBooleanCheckbox value="#{group.user}" />
			</p:column>
			<p:column headerText="Manager">
				<p:selectBooleanCheckbox value="#{group.manager}" />
			</p:column>
			<p:column headerText="Purchaser">
				<p:selectBooleanCheckbox value="#{group.purchaser}" />
			</p:column>
			<p:column headerText="Warehouse Manger">
				<p:selectBooleanCheckbox value="#{group.warehouse}" />
			</p:column>
		</p:dataTable>

	</ui:composition>
</body>
</html>